﻿using System.Runtime.Serialization;

namespace Common.Entities
{
    [DataContract]
    public class UserAccount
    {
        [DataMember]
        public string AccountName { get; private set; }
        [DataMember]
        public string AccountPassword { get; private set; }
        [DataMember]
        public SocialNetwork SocialNetwork { get; private set; }

        public UserAccount(string accountName, string accountPassword, SocialNetwork socialNetwork)
        {
            AccountName = accountName;
            AccountPassword = accountPassword;
            SocialNetwork = socialNetwork;
        }
    }
}
